#coding=utf-8
#!python

"""
demo 


>python exe.py  py2exe

"""


from distutils.core import setup
import py2exe

#------------终端方式

"""
options = {"py2exe": {"bundle_files": 1}}      
setup(options = options,
      zipfile = 1,
    console=["hello.py"],) 
"""
#---------------图形方式



options = {
  "py2exe": {
    "dll_excludes": ["MSVCP90.dll"],
  }
}
 
    
windows=[{"script": "./wxp.py"}]







"""

options = {"py2exe": {"compressed": 1, "optimize": 2, "ascii": 1, "includes":includes, "bundle_files": 1} } 


windows=[{"script": "F:/我的程序/Python/CSDN Code Edit/Code2Html.py", "icon_resources": [(1, "F:/书籍/我的图标/图标xp/Convert.ico")] }] 



"""





#执行函数 setup 就可以  参数2个

setup( options = options ,  windows=windows  ,zipfile=None )